package com.qfedu.service.intf;

import com.qfedu.entity.User;
import com.qfedu.vo.PageVo;
import com.qfedu.vo.R;
import javax.servlet.http.HttpSession;

public interface UserService {
    R add(User user);
    R update(User user);
    R delete(int id);

    PageVo queryPage(String name, String phone, int page, int limit);

    R login(String name, String password, String code, HttpSession session);
}
